home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 February / PCWorld_2000-02_cd.bin / Software / Vyzkuste / xsetup / _SETUP.2 / Group3 / XQ DataFactory 1.xpl < prev    next >
Text File  |  1999-10-17  |  2KB  |  48 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="System\Security"
  5. "NAME"="MDAC DataFactory"
  6. "VERSION"="1.0"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Enable "Safe Mode""
  9. "DESCRIPTION 1"="Microsoft Data Access Components (MDAC) include a service, DataFactory, that allows developers to easily access data over the internet on this machine."
  10. "DESCRIPTION 2"="However, it can happen that this technique is a security problem. If configured in "Unsafe Mode", it allows hackers to execute code, query data and other ugly things. This bug was fixed with MDAC 2.0, but can still be a problem. "
  11. "DESCRIPTION 3"="To make sure your machine is safe, activate this option."
  12. "DESCRIPTION 4"="For more information, see http://www.microsoft.com/security/ (MS99-025)"
  13. "DESCRIPTION 5"="Updates to MDAC may be obtained free at http://www.microsoft.com/data/download.htm"
  14. "AUTHOR"="Xteq Systems"
  15. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  16. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  17.  
  18.  
  19. sP="HKLM\Software\Microsoft\DataFactory\HandlerInfo\"
  20. sV1="HandlerRequired"
  21. Sub Plugin_Initialize 
  22.  If GetWinVer=2 then
  23.     i=RegReadValue(sP & sV1)
  24.     if i=1 then SetUIElement 1,true
  25.  else
  26.     Call Disable()
  27.  end if
  28. End Sub
  29.  
  30. Sub Plugin_CheckData(ElementIndex)
  31. End Sub
  32.  
  33. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  34.  b=GetUIElement(1)
  35.  if b=true then
  36.   Call RegWriteValue(sP & sV1,1,2) 
  37.  else
  38.   Call RegWriteValue(sP & sV1,0,2) 
  39.  end if
  40. End Sub
  41.  
  42.  
  43. Sub Plugin_Terminate 
  44. End Sub
  45.  
  46.  
  47.  
  48.